<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

	<link href="{site_url('css/style.css')}" rel="stylesheet" type="text/css" />
	<title>Мебель На Заказ</title>
	<link rel="stylesheet" href="{site_url('css/nivo-slider.css')}" type="text/css" media="screen" />

	<script src="{site_url('js/sizzlejs.jquery.js')}" type="text/javascript"></script>
	<script src="{site_url('js/nivo_slider.js')}" type="text/javascript"></script>

	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript"></script>
	<script src="http://gsgd.co.uk/sandbox/jquery/easing/jquery.easing.1.3.js" type="text/javascript"></script>
	<script src="{site_url('js/slides.min.jquery.js')}" type="text/javascript"></script>
	<script type="text/javascript">
		$(function(){
			$('#slider').slides({
				preload: true,
				preloadImage: 'img/loading.gif',
				play: 7000,
				pause: 2000,
				hoverPause: true,
			});
		});
	</script>

</head>

<body>
	<div id="wrapper">
		<div id="header">
		{assign current_page 'index'} 
		{include "inc/header.tpl"}
		<div id="container">
			<div class="wrap slide_w">
				<div id="slider" class="nivoSlider">
					<div class="slides_container">
						{foreach from=$slides key=i item=a}
						<img src="{site_url("img/{$a.img}")}" alt="" width="960" height="449" />
						{/foreach}
					</div>
				<a href="#" class="prev"><img src="img/arrow-prev.png" width="24" height="43" alt="Arrow Prev"></a>
				<a href="#" class="next"><img src="img/arrow-next.png" width="24" height="43" alt="Arrow Next"></a>
			</div>			
			<div class="slide_bottom"></div>
			</div>
			<div id="testimonials">
				<div id="testimonials_in">
					<div class="arrows">Мы не делаем стандартную мебель.
Каждое наше изделие уникально, так как воплощает в себе самые смелые задумки наших клиентов.</div>
				</div>
			</div>
		<div class="wrap">
				{foreach from=$specproject key=i item=a}
					<div class="design" style="margin: 0 10px 0 10px">
						<h1>{$a.name}</h1>
						<img src="{site_url("img/{$a.folder}/cover.jpg")}" width="269" height="141" alt="" />
						<div>{$a.description}</div>
						<a href="gallery?type={$a.folder}" class="read_d">Галерея »</a>
					</div>
				{/foreach}
			<div class="clear"></div>				
		</div>		
	</div>
	{include "inc/footer.tpl"}
	</div>

</body></html>
